github.com/refraction-networking/utls.Config.mutualVersion (method)

4 uses

	github.com/refraction-networking/utls (current package)
		common.go#L1288: func (c *Config) mutualVersion(isClient bool, peerVersions []uint16) (uint16, bool) {
		common.go#L1377: 	vers, ok := config.mutualVersion(roleServer, chi.SupportedVersions)
		handshake_client.go#L565: 	vers, ok := c.config.mutualVersion(roleClient, []uint16{peerVersion})
		handshake_server.go#L176: 	c.vers, ok = c.config.mutualVersion(roleServer, clientVersions)